<template>
	<view class="container">
		<view class="space"></view>
		<view v-for="(item, index) in list" :key="index" class="item">{{ item.name }}</view>
		<view class="nodata">没有更多了~</view>
	</view>
</template>

<script>
export default{
	data(){
		return {
			id: '',
			list: []
		}
	},
	onLoad(option){
		this.id = option.id;
		this.getList();
	},
	methods: {
		// 获取列表
		getList(){
			let _this = this;
			uni.request({
				url: this.$API.eduVideoMyTaskUnJoinMembers,
				data: { miss_id: this.id },
				header: this.$API.get_head(),
				success: (res)=>{
					_this.list = res.data.data;
				}
			})
		}
	}
}
</script>

<style scoped>
.container{
	height: 100vh;
	overflow-y: auto;
	background: #fff;
}
.space{
	height: 20upx;
	background: #F2F2F2;
}
.item{
	padding: 12upx 30upx;
	border-bottom: 2upx solid #F7F7F7;
}
</style>
